package com.hongdee.crm.tdc.pojo;

/**
 * @author zhangkai
 * @desc 调研问卷的问题库
 **/
public class MarketQuestionnairePojo extends MarketQuestionLibraryPojo {
    /**
     * 问卷编码
     */
    private String narieCode;
    /***
     * 问题库ID
     */
    private String libraryId;

    /***
     * 分值
     */
    private Integer assginScore;

    public String getNarieCode() {
        return narieCode;
    }

    public void setNarieCode(String narieCode) {
        this.narieCode = narieCode;
    }

    public String getLibraryId() {
        return libraryId;
    }

    public void setLibraryId(String libraryId) {
        this.libraryId = libraryId;
    }

    public Integer getAssginScore() {
        return assginScore;
    }

    public void setAssginScore(Integer assginScore) {
        if (null == assginScore) {
            assginScore = 0;
        }
        this.assginScore = assginScore;
    }

    public void setMarketQuestionLibraryPojo(MarketQuestionLibraryPojo po) {
        this.setLibraryId(po.getId());
        this.setLabel(po.getLabel());
        this.setLabelType(po.getLabelType());
        this.setValueType(po.getValueType());
        this.setpId(po.getpId());

    }
}
